package com.yx.sys.mapper;

import com.yx.common.vo.Result;
import com.yx.sys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息 Mapper 接口
 *
 * mapper 是Mybatis 操作数据库的那一层，就是dao层。
 * </p>
 *
 * @author yx
 * @since 2023-02-14
 */
public interface UserMapper extends BaseMapper<User> {
    public List<String> getRoleNameByUserId(Integer uId);
    public Result<?> getUserByEmail(String uEmail);
    public List<?> getUserByNickname(String nickname);
}
